/**
 * @project_name staff_vehicle
 * @package_name com.ssh.dao
 * @desc TODO
 * @param
 * @author jack
 * @date 2013-4-24
 * @time 上午9:51:51
 */
package com.ssh.dao;

import java.util.List;

import com.ssh.entity.StaffApplyCar;
import com.ssh.model.ACarResult;
import com.ssh.model.pdata.StaffDepApplyCarMData;

/**
 * @author jack
 *
 */
public interface StaffApplyCarDAOI {
	public StaffApplyCar queryById(String id);
	public StaffApplyCar updateBySAC(StaffApplyCar staffApplyCar);
	public int deleteById(String id);
	public StaffApplyCar addStaffAC(StaffApplyCar staffApplyCar);
	public int addStaffACList(List<StaffApplyCar> staffACList);
	public List<StaffApplyCar> queryByIdList(String strings);
	public int countById(String id);
	public List<ACarResult>  queryMyApplyCarInfo(String staffId);

	/**按申请人ID、使用人ID查询出某位员工的 车辆的申请*/
	public StaffApplyCar queryById(String idWhoApply,String idWhoUse );

	/**查询出所有员工的 车辆的申请*/
	public List<StaffDepApplyCarMData> getAllApplyCar();
	/**
	 * @param idWhoApply
	 * @param idWhoUse
	 * @return 查询出某位员工的 车辆的申请
	 */
	public List<StaffDepApplyCarMData> getOneWaitingApplyCar(String idWhoApply,
			String idWhoUse,String applyResult);
	/**
	 * @param idstaffApplyCar
	 * @return
	 */
	public StaffApplyCar queryById(int idstaffApplyCar);
}
